package com.yan.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.yan.services.SpringRedisService;

@Controller
public class SpringRedis {

	@Autowired
	private SpringRedisService springRedisService;
	
	//Redis操作java对象的测试
	@RequestMapping(value="/springRedisDemo.do", method=RequestMethod.GET)
	public void test() {
		springRedisService.test();
	}
	
}
